import request from '~/utils/request'
export default {
  getBanners(adTypeId) {
    return request({
      baseURL: 'http://localhost:8140',
      url: `/api/cms/ad/list/${adTypeId}`,
      method: 'get'
    })
  },
  // 获取首页热门讲师和课程
  getIndexData() {
    return request({
      url: '/api/edu/index',
      method: 'get'
    })
  }
}
